package com.briup.shopadmin.service;

import com.briup.shopadmin.common.bean.Category;
import com.briup.shopadmin.common.vo.CategoryVO;

import java.util.List;

public interface ICategoryService {

    List<CategoryVO>  findAll();

    List<Category> findCategorysOneLevel();

    List<Category>  findCategoryByOneLevel(Long id);

    void  save(Category category);

    void findByName(String name);

    void  deleteById(long id);
}
